package cn.ym.mall.entity;

/**
 * 员工角色类
 */
public class StaffRole {
    private Integer stid;   //员工编号
    private Integer rid;    //角色编号

    public StaffRole() {
    }

    public StaffRole(Integer rid) {
        this.rid = rid;
    }

    public StaffRole(Integer stid, Integer rid) {
        this.stid = stid;
        this.rid = rid;
    }

    public Integer getStid() {
        return stid;
    }

    public void setStid(Integer stid) {
        this.stid = stid;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    @Override
    public String toString() {
        return "StaffRole{" +
                "stid=" + stid +
                ", rid=" + rid +
                '}';
    }
}
